import Vue from "vue";
import App from "./App.vue";
import router from "./router/router.js";

/*引入饿了么ui样式 */
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import store from "@/store";

Vue.use(ElementUI);
// 将header注册为全局组件
import Header from "@/componets/Header";
Vue.component("Header", Header);

Vue.config.productionTip = false;

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
